package xin.marcher.module.attribute.domain.request;


import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 根据属性查询条件查询商品id请求入参
 */
@Data
public class QuerySkuIdsByAttributeRequest implements Serializable {

    private static final long serialVersionUID = 3210804379253527562L;

    /**
     * 属性查询条件
     */
    List<AttributeCriteria> attributeCriterias;

    @Data
    public static class AttributeCriteria implements Serializable {

        private static final long serialVersionUID = -8412884049276606366L;

        /**
         * 属性id
         */
        private Long attributeId;
        /**
         * 搜索的属性值
         */
        private String attributeValue;
    }
}